package com.dao;

import com.pojo.ProductType;

import java.util.List;

public interface ProductTypeDao {
    ProductType findByID(String id);

    List<ProductType> findAll(int start,int limit);

    int deletePT(String id);

    int updatePT(ProductType productType);

    int addPT(ProductType productType);

    int selectCount();

    List<ProductType> findAll();

    ProductType findByName(String name);
}
